home *** CD-ROM | disk | FTP | other *** search
- Path: ix.netcom.com!news
- From: egurevit@soleil.acomp.usf.edu (Eric Gurevitz)
- Newsgroups: comp.lang.c
- Subject: Correct input from user.
- Date: Sat, 30 Mar 1996 14:21:45 GMT
- Organization: Netcom
- Message-ID: <4jjfur$5fu@dfw-ixnews6.ix.netcom.com>
- NNTP-Posting-Host: tam-fl2-25.ix.netcom.com
- X-NETCOM-Date: Sat Mar 30 8:20:11 AM CST 1996
- X-Newsreader: Forte Free Agent 1.0.82
-
- I am writing for school. The program is to take the interest rate,
- number of years, and principal amount and return the monthly payment.
- For each of the things I ask the user I am using a scanf and storing
- it as a float. I would like to make a loop so that is the user types a
- lettter when asked for a number it prints an error message and tell
- them to try again. I am using GCC and writing it in C. Thnaks for the
- help.
-
- Eric Gurevitz
- egurevit@soleil.acomp,usf.edu
-
- Eric Gurevutz
- egurevit@soleil.acomp.usf.ed
-
- Be cure to check my home page at:
- http://www.bsn.usf.edu/~gurevitz
-
-